package com.wudi;

public class EntityBenz extends Car{

    public EntityBenz(){
        super.carname="普通奔驰";
    }

    public EntityBenz(String name){
        super.carname=name;
    }

    public String showInfo(){
        return "我是奔驰车\n"+"名字是："+super.carname;
    }

}
